<?php if ($objUserPager->getNbResults() > 0): ?>
	<table class="common_table_trunk">
	<?php foreach($objUserPager->getResults() as $objUser): ?>
		<tr>
			<td style="padding-top: 25px; border-bottom: 1px dashed #000;">
			<?php
				$strInfo = htmlspecialchars($objUser->getName());
				if ($objUser->getKana() != '') {
					$strInfo .= '(' . htmlspecialchars($objUser->getKana()) . ')';
				}
				if ($strInfo != '') {
					$strInfo .= '　　' . $objUser->getLoginId();
				} else {
					$strInfo .= $objUser->getLoginId();
				}

				$strUrlDetail = url_for('@user_detail?id=' . $objUser->getId() . $strUrlParam);
			?>
				<a href= "<?php echo $strUrlDetail ?>" title="<?php echo $strInfo ?>"><?php echo $strInfo ?></a>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php else: ?>
	<table width="100%">
		<tr class="search_no_result">
			<td>Không tìm thấy user </td>
		</tr>
	</table>
<?php endif; ?>

<?php include_partial('common/ajax_page_navigation', array('objPager' => $objUserPager)) ?>
